third-party-prc-api icon

third-party-prc-api

(0 reviews)

Western Union - Transaction Inquiry

Description: This API returns the status of a single transaction.

Mulesoft Request:

Headers:

Mandatory Headers: x-correlation-id, client_id, client_secret, x-channel-id

Optional Headers: x-sub-channel-id, x-user-id, x-debug-flag, x-customer-id, Authorization, x-bank-id

Parameters:

URI Param: NA

Query Param: NA

Body

  {
    "receiverFirstName": "ZAREEN",
    "receiverLastName": "KHAN",
    "moneyTransferControlNumber": "8009340477",
  }

Content-type: application/json

Mulesoft Response:

Success Response: (200)

{
    "status": {
        "success": true,
        "code": "200",
        "arabicMessage": "تمت العملية بنجاح",
        "englishMessage": "The Operation has been Successfully Completed"
    },
    response:
    {
        "transactionId": "2221188009340477",
        "transactionStatus": "AVAILABLE",
        "moneyTransferControlNumber": "8009340477",
        "moneyTransferDate": "07-30-22 0532P EDT"
    }
}

Sample Error Response:

500 :

{
    "success”:  false,
    "code”:  500,
    "reasonCode”: "Internal Server Error",
    "arabicMessage”: "",
     "englishMessage":"NO MATCHING RECORDS FOUND",
    "backendError": "NO MATCHING RECORDS FOUND",  (if debug flag is on)
    "backendCode": "D0004" (if debug flag is on)
}

Reviews